<?php
	$file = $_REQUEST['file'];
	switch ($_REQUEST['type'])
	{
		case 'css':
			header('Content-type:text/css');
			break;
		case 'js':
			header('Content-type:text/javascript');
			break;
	}
	if(file_exists($file))
		include_once $file;
?>